Optimal. Leaf size=134 \[ \frac {\text {ArcTan}\left (\frac {\sqrt {a-b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )}{(a-b)^{5/2} f}-\frac {b \sinh (e+f x)}{3 a (a-b) f \left (a+b \sinh ^2(e+f x)\right )^{3/2}}-\frac {(5 a-2 b) b \sinh (e+f x)}{3 a^2 (a-b)^2 f \sqrt {a+b \sinh ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 134, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3269, 425, 541,
12, 385, 209} \begin {gather*} -\frac {b (5 a-2 b) \sinh (e+f x)}{3 a^2 f (a-b)^2 \sqrt {a+b \sinh ^2(e+f x)}}+\frac {\text {ArcTan}\left (\frac {\sqrt {a-b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )}{f (a-b)^{5/2}}-\frac {b \sinh (e+f x)}{3 a f (a-b) \left (a+b \sinh ^2(e+f x)\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 209
Rule 385
Rule 425
Rule 541
Rule 3269
Rubi steps
\begin {align*} \int \frac {\text {sech}(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{5/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \left (a+b x^2\right )^{5/2}} \, dx,x,\sinh (e+f x)\right )}{f}\\ &=-\frac {b \sinh (e+f x)}{3 a (a-b) f \left (a+b \sinh ^2(e+f x)\right )^{3/2}}+\frac {\text {Subst}\left (\int \frac {3 a-2 b-2 b x^2}{\left (1+x^2\right ) \left (a+b x^2\right )^{3/2}} \, dx,x,\sinh (e+f x)\right )}{3 a (a-b) f}\\ &=-\frac {b \sinh (e+f x)}{3 a (a-b) f \left (a+b \sinh ^2(e+f x)\right )^{3/2}}-\frac {(5 a-2 b) b \sinh (e+f x)}{3 a^2 (a-b)^2 f \sqrt {a+b \sinh ^2(e+f x)}}+\frac {\text {Subst}\left (\int \frac {3 a^2}{\left (1+x^2\right ) \sqrt {a+b x^2}} \, dx,x,\sinh (e+f x)\right )}{3 a^2 (a-b)^2 f}\\ &=-\frac {b \sinh (e+f x)}{3 a (a-b) f \left (a+b \sinh ^2(e+f x)\right )^{3/2}}-\frac {(5 a-2 b) b \sinh (e+f x)}{3 a^2 (a-b)^2 f \sqrt {a+b \sinh ^2(e+f x)}}+\frac {\text {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \sqrt {a+b x^2}} \, dx,x,\sinh (e+f x)\right )}{(a-b)^2 f}\\ &=-\frac {b \sinh (e+f x)}{3 a (a-b) f \left (a+b \sinh ^2(e+f x)\right )^{3/2}}-\frac {(5 a-2 b) b \sinh (e+f x)}{3 a^2 (a-b)^2 f \sqrt {a+b \sinh ^2(e+f x)}}+\frac {\text {Subst}\left (\int \frac {1}{1-(-a+b) x^2} \, dx,x,\frac {\sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )}{(a-b)^2 f}\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {a-b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )}{(a-b)^{5/2} f}-\frac {b \sinh (e+f x)}{3 a (a-b) f \left (a+b \sinh ^2(e+f x)\right )^{3/2}}-\frac {(5 a-2 b) b \sinh (e+f x)}{3 a^2 (a-b)^2 f \sqrt {a+b \sinh ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 8.50, size = 1331, normalized size = 9.93 \begin {gather*} \frac {\text {sech}(e+f x) \tanh (e+f x) \left (1575 \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right )+\frac {2100 b \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \sinh ^2(e+f x)}{a}+\frac {840 b^2 \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \sinh ^4(e+f x)}{a^2}-\frac {3150 (a-b) \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \tanh ^2(e+f x)}{a}-\frac {4200 (a-b) b \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \sinh ^2(e+f x) \tanh ^2(e+f x)}{a^2}-\frac {1680 (a-b) b^2 \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \sinh ^4(e+f x) \tanh ^2(e+f x)}{a^3}+\frac {1575 (a-b)^2 \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \tanh ^4(e+f x)}{a^2}+\frac {2100 (a-b)^2 b \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \sinh ^2(e+f x) \tanh ^4(e+f x)}{a^3}+\frac {840 (a-b)^2 b^2 \text {ArcSin}\left (\sqrt {\frac {(a-b) \tanh ^2(e+f x)}{a}}\right ) \sinh ^4(e+f x) \tanh ^4(e+f x)}{a^4}+2100 \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{3/2}+\frac {2800 b \sinh ^2(e+f x) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{3/2}}{a}+\frac {1120 b^2 \sinh ^4(e+f x) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{3/2}}{a^2}+96 \, _2F_1\left (2,2;\frac {9}{2};\frac {(a-b) \tanh ^2(e+f x)}{a}\right ) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{7/2}+24 \, _3F_2\left (2,2,2;1,\frac {9}{2};\frac {(a-b) \tanh ^2(e+f x)}{a}\right ) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{7/2}+\frac {168 b \, _2F_1\left (2,2;\frac {9}{2};\frac {(a-b) \tanh ^2(e+f x)}{a}\right ) \sinh ^2(e+f x) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{7/2}}{a}+\frac {48 b \, _3F_2\left (2,2,2;1,\frac {9}{2};\frac {(a-b) \tanh ^2(e+f x)}{a}\right ) \sinh ^2(e+f x) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{7/2}}{a}+\frac {72 b^2 \, _2F_1\left (2,2;\frac {9}{2};\frac {(a-b) \tanh ^2(e+f x)}{a}\right ) \sinh ^4(e+f x) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{7/2}}{a^2}+\frac {24 b^2 \, _3F_2\left (2,2,2;1,\frac {9}{2};\frac {(a-b) \tanh ^2(e+f x)}{a}\right ) \sinh ^4(e+f x) \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{7/2}}{a^2}-1575 \sqrt {\frac {(a-b) \text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right ) \tanh ^2(e+f x)}{a^2}}-\frac {2100 b \sinh ^2(e+f x) \sqrt {\frac {(a-b) \text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right ) \tanh ^2(e+f x)}{a^2}}}{a}-\frac {840 b^2 \sinh ^4(e+f x) \sqrt {\frac {(a-b) \text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right ) \tanh ^2(e+f x)}{a^2}}}{a^2}\right )}{315 a^2 f \sqrt {a+b \sinh ^2(e+f x)} \sqrt {\frac {\text {sech}^2(e+f x) \left (a+b \sinh ^2(e+f x)\right )}{a}} \left (1+\frac {b \sinh ^2(e+f x)}{a}\right ) \left (\frac {(a-b) \tanh ^2(e+f x)}{a}\right )^{5/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 1.93, size = 169, normalized size = 1.26
method | result | size |
default | \(\frac {\mathit {`\,int/indef0`\,}\left (\frac {-b^{2} \left (\sinh ^{4}\left (f x +e \right )\right )-2 a b \left (\sinh ^{2}\left (f x +e \right )\right )-a^{2}}{\left (-b^{4} \left (\sinh ^{10}\left (f x +e \right )\right )+\left (-4 a \,b^{3}-b^{4}\right ) \left (\sinh ^{8}\left (f x +e \right )\right )+\left (-6 a^{2} b^{2}-4 a \,b^{3}\right ) \left (\sinh ^{6}\left (f x +e \right )\right )+\left (-4 a^{3} b -6 a^{2} b^{2}\right ) \left (\sinh ^{4}\left (f x +e \right )\right )+\left (-a^{4}-4 a^{3} b \right ) \left (\sinh ^{2}\left (f x +e \right )\right )-a^{4}\right ) \sqrt {a +b \left (\sinh ^{2}\left (f x +e \right )\right )}}, \sinh \left (f x +e \right )\right )}{f}\) | \(169\) |
risch | \(\text {Expression too large to display}\) | \(1155822\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 2640 vs.
\(2 (120) = 240\).
time = 0.64, size = 5396, normalized size = 40.27 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {sech}{\left (e + f x \right )}}{\left (a + b \sinh ^{2}{\left (e + f x \right )}\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1177 vs.
\(2 (120) = 240\).
time = 0.73, size = 1177, normalized size = 8.78 \begin {gather*} -\frac {{\left (\frac {{\left ({\left (\frac {{\left (5 \, a^{9} b^{2} e^{\left (12 \, e\right )} - 42 \, a^{8} b^{3} e^{\left (12 \, e\right )} + 156 \, a^{7} b^{4} e^{\left (12 \, e\right )} - 336 \, a^{6} b^{5} e^{\left (12 \, e\right )} + 462 \, a^{5} b^{6} e^{\left (12 \, e\right )} - 420 \, a^{4} b^{7} e^{\left (12 \, e\right )} + 252 \, a^{3} b^{8} e^{\left (12 \, e\right )} - 96 \, a^{2} b^{9} e^{\left (12 \, e\right )} + 21 \, a b^{10} e^{\left (12 \, e\right )} - 2 \, b^{11} e^{\left (12 \, e\right )}\right )} e^{\left (2 \, f x\right )}}{a^{12} e^{\left (12 \, e\right )} - 10 \, a^{11} b e^{\left (12 \, e\right )} + 45 \, a^{10} b^{2} e^{\left (12 \, e\right )} - 120 \, a^{9} b^{3} e^{\left (12 \, e\right )} + 210 \, a^{8} b^{4} e^{\left (12 \, e\right )} - 252 \, a^{7} b^{5} e^{\left (12 \, e\right )} + 210 \, a^{6} b^{6} e^{\left (12 \, e\right )} - 120 \, a^{5} b^{7} e^{\left (12 \, e\right )} + 45 \, a^{4} b^{8} e^{\left (12 \, e\right )} - 10 \, a^{3} b^{9} e^{\left (12 \, e\right )} + a^{2} b^{10} e^{\left (12 \, e\right )}} + \frac {3 \, {\left (8 \, a^{10} b e^{\left (10 \, e\right )} - 73 \, a^{9} b^{2} e^{\left (10 \, e\right )} + 298 \, a^{8} b^{3} e^{\left (10 \, e\right )} - 716 \, a^{7} b^{4} e^{\left (10 \, e\right )} + 1120 \, a^{6} b^{5} e^{\left (10 \, e\right )} - 1190 \, a^{5} b^{6} e^{\left (10 \, e\right )} + 868 \, a^{4} b^{7} e^{\left (10 \, e\right )} - 428 \, a^{3} b^{8} e^{\left (10 \, e\right )} + 136 \, a^{2} b^{9} e^{\left (10 \, e\right )} - 25 \, a b^{10} e^{\left (10 \, e\right )} + 2 \, b^{11} e^{\left (10 \, e\right )}\right )}}{a^{12} e^{\left (12 \, e\right )} - 10 \, a^{11} b e^{\left (12 \, e\right )} + 45 \, a^{10} b^{2} e^{\left (12 \, e\right )} - 120 \, a^{9} b^{3} e^{\left (12 \, e\right )} + 210 \, a^{8} b^{4} e^{\left (12 \, e\right )} - 252 \, a^{7} b^{5} e^{\left (12 \, e\right )} + 210 \, a^{6} b^{6} e^{\left (12 \, e\right )} - 120 \, a^{5} b^{7} e^{\left (12 \, e\right )} + 45 \, a^{4} b^{8} e^{\left (12 \, e\right )} - 10 \, a^{3} b^{9} e^{\left (12 \, e\right )} + a^{2} b^{10} e^{\left (12 \, e\right )}}\right )} e^{\left (2 \, f x\right )} - \frac {3 \, {\left (8 \, a^{10} b e^{\left (8 \, e\right )} - 73 \, a^{9} b^{2} e^{\left (8 \, e\right )} + 298 \, a^{8} b^{3} e^{\left (8 \, e\right )} - 716 \, a^{7} b^{4} e^{\left (8 \, e\right )} + 1120 \, a^{6} b^{5} e^{\left (8 \, e\right )} - 1190 \, a^{5} b^{6} e^{\left (8 \, e\right )} + 868 \, a^{4} b^{7} e^{\left (8 \, e\right )} - 428 \, a^{3} b^{8} e^{\left (8 \, e\right )} + 136 \, a^{2} b^{9} e^{\left (8 \, e\right )} - 25 \, a b^{10} e^{\left (8 \, e\right )} + 2 \, b^{11} e^{\left (8 \, e\right )}\right )}}{a^{12} e^{\left (12 \, e\right )} - 10 \, a^{11} b e^{\left (12 \, e\right )} + 45 \, a^{10} b^{2} e^{\left (12 \, e\right )} - 120 \, a^{9} b^{3} e^{\left (12 \, e\right )} + 210 \, a^{8} b^{4} e^{\left (12 \, e\right )} - 252 \, a^{7} b^{5} e^{\left (12 \, e\right )} + 210 \, a^{6} b^{6} e^{\left (12 \, e\right )} - 120 \, a^{5} b^{7} e^{\left (12 \, e\right )} + 45 \, a^{4} b^{8} e^{\left (12 \, e\right )} - 10 \, a^{3} b^{9} e^{\left (12 \, e\right )} + a^{2} b^{10} e^{\left (12 \, e\right )}}\right )} e^{\left (2 \, f x\right )} - \frac {5 \, a^{9} b^{2} e^{\left (6 \, e\right )} - 42 \, a^{8} b^{3} e^{\left (6 \, e\right )} + 156 \, a^{7} b^{4} e^{\left (6 \, e\right )} - 336 \, a^{6} b^{5} e^{\left (6 \, e\right )} + 462 \, a^{5} b^{6} e^{\left (6 \, e\right )} - 420 \, a^{4} b^{7} e^{\left (6 \, e\right )} + 252 \, a^{3} b^{8} e^{\left (6 \, e\right )} - 96 \, a^{2} b^{9} e^{\left (6 \, e\right )} + 21 \, a b^{10} e^{\left (6 \, e\right )} - 2 \, b^{11} e^{\left (6 \, e\right )}}{a^{12} e^{\left (12 \, e\right )} - 10 \, a^{11} b e^{\left (12 \, e\right )} + 45 \, a^{10} b^{2} e^{\left (12 \, e\right )} - 120 \, a^{9} b^{3} e^{\left (12 \, e\right )} + 210 \, a^{8} b^{4} e^{\left (12 \, e\right )} - 252 \, a^{7} b^{5} e^{\left (12 \, e\right )} + 210 \, a^{6} b^{6} e^{\left (12 \, e\right )} - 120 \, a^{5} b^{7} e^{\left (12 \, e\right )} + 45 \, a^{4} b^{8} e^{\left (12 \, e\right )} - 10 \, a^{3} b^{9} e^{\left (12 \, e\right )} + a^{2} b^{10} e^{\left (12 \, e\right )}}}{{\left (b e^{\left (4 \, f x + 4 \, e\right )} + 4 \, a e^{\left (2 \, f x + 2 \, e\right )} - 2 \, b e^{\left (2 \, f x + 2 \, e\right )} + b\right )}^{\frac {3}{2}}} - \frac {6 \, \arctan \left (-\frac {\sqrt {b} e^{\left (2 \, f x + 2 \, e\right )} - \sqrt {b e^{\left (4 \, f x + 4 \, e\right )} + 4 \, a e^{\left (2 \, f x + 2 \, e\right )} - 2 \, b e^{\left (2 \, f x + 2 \, e\right )} + b} + \sqrt {b}}{2 \, \sqrt {a - b}}\right )}{{\left (a^{2} e^{\left (6 \, e\right )} - 2 \, a b e^{\left (6 \, e\right )} + b^{2} e^{\left (6 \, e\right )}\right )} \sqrt {a - b}}\right )} e^{\left (6 \, e\right )}}{3 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\mathrm {cosh}\left (e+f\,x\right )\,{\left (b\,{\mathrm {sinh}\left (e+f\,x\right )}^2+a\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________